x86/mm/p2m: Move p2m code in HVMOP_[gs]et_mem_access into p2m.c
authorTim Deegan <Tim.Deegan@citrix.com>
Thu, 2 Jun 2011 12:16:52 +0000 (13:16 +0100)
committerTim Deegan <Tim.Deegan@citrix.com>
Thu, 2 Jun 2011 12:16:52 +0000 (13:16 +0100)
commit3b0bcb890955e1c3e2fde10a026c5d85481e6fb8
treec591bc1aacb4ff05df2cf0a1bec01109fdd285d3
parent801827bf8d95db56b98e55719a6f99d17c9b78eb
x86/mm/p2m: Move p2m code in HVMOP_[gs]et_mem_access into p2m.c

It uses p2m internals like the p2m lock and function pointers so belongs
behind the p2m interface.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/mm/p2m.c
xen/include/asm-x86/p2m.h